package robocup.component.speechacts.coachlanguage;

import java.util.LinkedList;

public class MetaMessage {

  private LinkedList<Double> verList = new LinkedList<Double>();

  public void addVer(final double ver) {

    this.verList.add(ver);
  }

  public LinkedList<Double> getVerList() {

    return this.verList;
  }

  public void setVerList(final LinkedList<Double> verList) {

    this.verList = verList;
  }

  @Override
  public String toString() {

    final StringBuffer buf = new StringBuffer();
    buf.append("(meta ");
    for (final Double dbl : this.verList) {
      buf.append("(ver " + dbl + ")");
    }
    buf.append(")");
    return buf.toString();
  }

}
